package com.tarena.lbs.activity.pojo.param;

import io.swagger.annotations.ApiModelProperty;
import lombok.AccessLevel;
import lombok.Data;
import lombok.experimental.FieldDefaults;
import org.springframework.format.annotation.DateTimeFormat;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.util.Date;

@Data
@FieldDefaults(level = AccessLevel.PRIVATE)
public class ActivityAddParam implements Serializable {

    @ApiModelProperty("更新必填")
    Integer id;

    @ApiModelProperty("活动名称")
    String activityName;


    @ApiModelProperty("开始时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    Date startDate;


    @ApiModelProperty("截止时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    Date endDate;


    @ApiModelProperty("活动说明")
    String describes;

    @ApiModelProperty("活动图片ID逗号分割")
    String imgIds;


    @ApiModelProperty("店铺ID逗号分割")
    String shopIds;


    @ApiModelProperty("活动人群ID逗号分割")
    String targetCustomer;


    @ApiModelProperty("活动目标")
    String activityTarget;


    @ApiModelProperty("投放渠道")
    Integer deliveryChannel;


    @ApiModelProperty("优惠券ID")
    Integer rewardCouponId;


    @ApiModelProperty("活动分享标题")
    String shareProfile;


    @ApiModelProperty("活动分享链接")
    String shareUrl;

    @ApiModelProperty(value = "营销配置")
    String activityJson;

    @ApiModelProperty(value = "自动化营销类型")
    Integer marketingType;

    @ApiModelProperty("商家ID-前端忽略")
    Integer businessId;


}
